package com.sixth.docker.controller;

import com.sixth.core.entity.CheckResult;
import com.sixth.core.vo.R;
import com.sixth.docker.service.CheckResultService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @program: sixth-hospital-parent
 * @description:
 * @author: 赵庆龙
 * @create: 2024-09-04 10:14
 **/
@RestController
@RequestMapping("/doctor/CheckResult")
public class CheckResultController {
    @Autowired
    private CheckResultService checkResultService;
    @GetMapping("/selectByItemId/{itemId}")
    public R<CheckResult> selectByItemId(@PathVariable String itemId){
        return checkResultService.selectByItemId(itemId);
    }
}
